package main

import (
	"fmt"
	"project01/com/utils"
)

/**
 * @author: guangcheng
 * @date:   2020/11/9 18:30
 * @version  V1.0
 * @description:
 *
 */
func main() {

	a := 10
	b := 20
	utils.Swap(&a, &b)

	fmt.Printf("a=%v  b=%v", a, b)

	fmt.Println("\nName=", utils.Name, "Age=", utils.Age)

	var pyramidLevel int
	fmt.Println("输入金字塔层数")
	fmt.Scanln(&pyramidLevel)
	utils.PrintPyramid(pyramidLevel)

	toInt := utils.StringToInt("12a3")
	fmt.Println("toInt=", toInt)

}
